import request from "../index";

export const doGet = ()=>{
    return request({url:"/Leave", method:"get"})
}
export const doPost = (way,msg)=>{
    return request({url:'/Leave', method:'post', params:{way,msg}})
}